package com.hzw.saas.service.storage.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * s3存储表
 * </p>
 *
 * @author zzl
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_resource_provider_s3")
public class ResourceProviderS3 implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.INPUT)
    private String providerId;

    /**
     * 存储名称
     */
    private String providerName;

    /**
     * 存储路径
     */
    private String url;

    /**
     * 存储桶
     */
    private String bucket;

    /**
     * 安全密钥
     */
    private String securityKey;

    /**
     * 访问密钥
     */
    private String accessKey;


}
